package com.zrwl.poscloud.xo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zrwl.poscloud.commons.vo.BaseVO;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
import java.util.Date;

/**
 * 持卡人员账户 VO类
 *
 * @author 刘思童 AutoGenerate
 * @date 2021-07-26
 */
@Data
public class EmployeeAccountVO extends BaseVO<EmployeeAccountVO> {
    private static final long serialVersionUID = 1L;
    private String employeeUid;
    private int type;
    private int recordNo;


    //    @JSONField(serializeUsing  = CustomDoubleSerialize.class) @JSONField(format="#0.00")
    private double balance;
    private Timestamp validDate;//有效日期

    private String companyUid;
    private String employeeName;
    private String companyCode;
    private String employeeCode;
    private String certCode;
    private String employeeLabelDataUid;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date employeeEnterDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date employeeLeaveDate;
    private int employeeStatus;
    private int employeePayLevel;
    private String[] labelDataUidList;
    private int isFacePayment;
    private int employeeSex;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date employeeBirthday;
    private String employeeMobile;
    private String employeeRemark;

    private String cardUid;
    private int cardStatus;
    private String cardCode;
    private String cardName;
    private String cardSerialNumber;
    private int useCount;

    private boolean exit;


    private String types;
    private String statuss;
    private String balances;
    private String createTimes;
    private String updateTimes;
    private String validDates;
    private double dailyLimit;
    private double monthlyLimit;
    private String weChat;
    private String nickName;
    private String userUid;
    private String adminUid;
    private int employeeSourceType;
    private String employeeSourceUid;
    private String employeeSourceName;
    private String[] deptRoleTree;
}
